package com.doupi.partner.dal;

import com.doupi.partner.dal.model.OperationLog;
import org.apache.ibatis.session.RowBounds;

import java.util.List;

public interface OperationLogMapper {
	int deleteByPrimaryKey(Long id);

	int insert(OperationLog record);

	OperationLog selectByPrimaryKey(Long id);

	int updateByPrimaryKeySelective(OperationLog record);

	int countOperationLog(OperationLog operationLog);

	List<OperationLog> queryOperationLogs(OperationLog operationLog, RowBounds rowBounds);

	List<OperationLog> selectOperationLogForUpdate(OperationLog operationLog);

	OperationLog selectOperationLogForUpdateByPrimaryKey(Long id);
}
